package com.gdepri.cabelwellserver.entity;

import lombok.Data;

@Data
public class CableMessageSegment {
    private Integer id;

    private String datastr;

    private String insertTime;

    private String type;

    private String direction;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDatastr() {
        return datastr;
    }

    public void setDatastr(String datastr) {
        this.datastr = datastr == null ? null : datastr.trim();
    }

    public String getInsertTime() {
        return insertTime;
    }

    public void setInsertTime(String insertTime) {
        this.insertTime = insertTime == null ? null : insertTime.trim();
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }

    public String getDirection() {
        return direction;
    }

    public void setDirection(String direction) {
        this.direction = direction == null ? null : direction.trim();
    }

    @Override
    public String toString() {
        return "CableMessageSegment{" +
                "id=" + id +
                ", datastr='" + datastr + '\'' +
                ", insertTime='" + insertTime + '\'' +
                ", type='" + type + '\'' +
                ", direction='" + direction + '\'' +
                '}';
    }
}